package com.cmsr.springclond.strategy;

public class PayContext {
    private  PayStrategy  payStrategy;

    public PayContext(PayStrategy payStrategy) {
        this.payStrategy = payStrategy;
    }

    public String excuteStrategy(){
        return payStrategy.pay();
    }
}
